<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<div id='left' ng-init="initMap()">
    <div id='search'>
        起点：<input type='text' ng-model='init' required><br>
        终点：<input type='text' ng-model='ended' required><br>
        <button ng-click='go()' style='position:absolute; top:20px; left:250px; z-Index:99; padding:5px'>查询</button>
    </div>
    <br>

</div>
<div id='l-map'>
    <!--百度地图容器-->
    <div style="width:700px;height:550px;border:#ccc solid 1px;font-size:12px" id="map"></div>
</div>


<style>
    #l-map {height:100%;width:75%;}
    #left {height: 100%;width: 24.5%;float:left;overflow: hidden;border-right-style: groove;}
    #search {padding: 10px;}
</style>

</body>
</html>